package com.orange.service;

import com.orange.dao.UserDao;
import com.orange.domain.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by pengfei on 2016/11/25.
 */
@Service
public class UserService {
    @Autowired
    private UserDao userDao;
    public int addUser(User user) throws Exception{
        return userDao.addUser(user);
    }
}
